package com.ruibang.glass.material.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruibang.glass.material.domain.req.MaterialManagementReq;
import com.ruibang.glass.material.entity.MaterialManagement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 物料管理表 Mapper 接口
 * </p>
 *
 * @author mameng
 * @since 2024-03-30
 */
@Mapper
public interface MaterialManagementMapper extends BaseMapper<MaterialManagement> {

    IPage<MaterialManagement> queryPage(Page<MaterialManagementReq> page, @Param("managementReq") MaterialManagementReq managementReq);


    List<MaterialManagement> selectMaterialCPORBCPChoose(@Param("wareHouseCode") String wareHouseCode);


    List<String> dictNameList();
}
